<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let arr = [1, 2];
        arr.unshift(0);
        console.log('插入0：' + arr);
        arr.unshift(-2, -1);
        console.log('插入-2,-1：' + arr);
        arr.unshift([-4, -3]);
        console.log('插入[-4,-3]：' + arr);
        arr.unshift([-7, -6], [-5]);
        console.log('插入[-7, -6], [-5]：' + arr);
    </script>
</body>

</html>